<div class="bjui-pageHeader">
    <form id="pagerForm" data-toggle="ajaxsearch" action="{:U($Think.ACTION_NAME)}" method="post">
        <input type="hidden" name="pageSize" value="{$Think.session.pageSize}">
        <input type="hidden" name="pageCurrent" value="{$Think.session.pageCurrent}">
        <input type="hidden" name="orderField" value="{$Think.session.orderField}">
        <input type="hidden" name="orderDirection" value="{$Think.session.orderDirection}">
        <div class="bjui-searchBar">
            <label>发布时间：</label><input type="text" name="search[atime]" readonly="readonly" value="{$search.atime}" class="form-control" size="12" data-toggle="datepicker" />
            <button type="submit" class="btn-default" data-icon="search">查询</button>
            <div class="pull-right">
                <a href="{:U('add')}" data-toggle="dialog" data-width="1000" data-height="600" data-id="dialog-mask" data-mask="true" class="btn btn-default"><i class="fa fa-plus"></i> 新增任务</a>
                <div class="btn-group">
                    <button type="button" class="btn-default dropdown-toggle" data-toggle="dropdown" data-icon="copy">功能操作<span class="caret"></span></button>
                    <ul class="dropdown-menu right" role="menu">
                        <li><a href="{:U('del')}" data-toggle="doajaxchecked" data-confirm-msg="确定要删除选中项吗？" data-idname="ids" data-group="ids"><i class="fa fa-times"></i> 删除数据</a></li>
                    </ul>
                </div>
            </div>
        </div>
    </form>
</div>
<div class="bjui-pageContent">
    <!-- 内容区 -->
    <table data-toggle="tablefixed" data-width="100%" data-nowrap="true">
        <thead>
        <tr>
            <th width="50">ID</th>
            <th>名称</th>
            <th>描述</th>
            <th width="50">类型</th>
            <th width="50">积分</th>
            <th width="50">次数</th>
            <th width="50">间隔</th>
            <th width="50">置顶</th>
            <th width="150">发布时间</th>
            <th width="26"><input type="checkbox" class="checkboxCtrl" data-group="ids" data-toggle="icheck"></th>
            <th width="150">操作</th>
        </tr>
        </thead>
        <volist name="list" id="vo">
            <tr>
                <td>{$vo.id}</td>
                <td title="{$vo.title}">{$vo.title|cutStr=50,0}</td>
                <td title="{$vo.desp}">{$vo.desp|cutStr=50,0}</td>
                <td>{$vo.genre}</td>
                <td>{$vo.integration}</td>
                <td>{$vo.degree}</td>
                <td>{$vo.period}{$vo.periodtype}</td>
                <td>{$vo.ishot}</td>
                <td>{$vo.atime|date="Y-m-d H:i:s",###}</td>
                <td><input type="checkbox" name="ids" data-toggle="icheck" value="<?= $vo[id]?>"></td>
                <td>
                    <!--<a href="{:U('edit?bid='.$vo[id])}" class="btn btn-default" data-toggle="doajax" data-confirm-msg="确定要删除该行信息吗？">详情</a>-->
                    <a href="{:U('edit?id='.$vo[id])}" data-toggle="dialog" data-width="1000" data-height="600" data-id="dialog-mask" data-mask="true" class="btn btn-default">编辑</a>
                    <a href="{:U('del?bid='.$vo[id])}" class="btn btn-default" data-toggle="doajax" data-confirm-msg="确定要删除该行信息吗？">删除</a>
                </td>
            </tr>
        </volist>
    </table>
</div>

<include file="./App/Common/View/Common/pageFooter.html" />